

using System.Net.Configuration;
using CoVanHocTapData.Infrastructure;
namespace CoVanHocTapData.Entities.Emails
{
    /// <summary>
    /// Welcome email.
    /// </summary>
    public class ForgetPasswordEmailModel : EmailViewModel
    {
        public ForgetPasswordEmailModel()
        {
            System.Net.Configuration.SmtpSection smtp = System.Configuration.ConfigurationManager.GetSection("system.net/mailSettings/smtp") as SmtpSection;
            if (smtp != null)
            {
                From = smtp.From;
            }

            Subject = ConfigurationManager.ForgetPasswordEmailSubject;
        }


        public SinhVien sv { get; set; }
        public string NewPassword { get; set; }

        public string FullName
        {
            get { return sv.HoLot + " " + sv.Ten; }
        }
    }
}